//
//  CMDBAccountBean.swift
//  CMDB
//
//  Created by 王磊 on 17/4/5.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

public class CMDBAccountBean: NSObject {
    
    var token: String = ""
    
    var uid: String = ""
    
    var name : String = ""
    
    var userNames : String = ""
    
    var icon : String = ""
    
    var letter : String = ""
    
    //性别，1：男，2：女
    var gender : Int = 1
    
    //用户类型，0：普通用户，1：官方用户
    var type : Int = 0
    
    var phone: String = ""

    
    var associate: String = ""
    
    var isAssociate: Bool {
        return associate == "1" ? true : false
    }
}
